package com.fqgj.xjd.user.client.request;

import java.io.Serializable;

/**
 * Created with IntelliJ IDEA.
 * User: sm
 * Date: 2017/3/15
 * Time: 下午2:33
 */
public class UserDevice implements Serializable {

    private static final long serialVersionUID = -8618845132297621231L;
    /**
     * 客户码 首次为空 登录成功后绑定
     */
    private String userCode;
    /**
     * 服务端下发的 客户唯一id
     */
    private String guestId;
    /**
     * 设备号 推送用
     */
    private String clientId;
    /**
     * appsflyerId
     */
    private String appsflyerId;
    /**
     * 1：ios 2:安卓 0:其他
     */
    private Integer platform;
    /**
     * 版本号
     */
    private String version;
    /**
     * ios andriod app版本号
     */
    private String versionCode;

    public String getAppsflyerId() {
        return appsflyerId;
    }

    public UserDevice setAppsflyerId(String appsflyerId) {
        this.appsflyerId = appsflyerId;
        return this;
    }

    public UserDevice() {
    }

    public String getUserCode() {
        return userCode;
    }

    public UserDevice setUserCode(String userCode) {
        this.userCode = userCode;
        return this;
    }

    public String getGuestId() {
        return guestId;
    }

    public UserDevice setGuestId(String guestId) {
        this.guestId = guestId;
        return this;
    }

    public String getClientId() {
        return clientId;
    }

    public UserDevice setClientId(String clientId) {
        this.clientId = clientId;
        return this;
    }

    public Integer getPlatform() {
        return platform;
    }

    public UserDevice setPlatform(Integer platform) {
        this.platform = platform;
        return this;
    }

    public String getVersion() {
        return version;
    }

    public UserDevice setVersion(String version) {
        this.version = version;
        return this;
    }

    public String getVersionCode() {
        return versionCode;
    }

    public UserDevice setVersionCode(String versionCode) {
        this.versionCode = versionCode;
        return this;
    }
}
